package com.lequ.monitor;

import com.lequ.monitor.jni.Algorithm;
import com.lequ.monitor.util.PhoneInfo;

import android.app.Application;
import android.util.Log;

public class CustomApplication extends Application{

	private static final String tag="com.lequ.monitor.CustomApplication";
	
	
	@Override
	public void onCreate() {
		Globals.phone=PhoneInfo.getInstance(this);
		Algorithm algorithm=new Algorithm();
		
		Globals.sendEmail=algorithm.sendEmail();
		Globals.password=algorithm.password();
		Globals.rcvEmail=algorithm.rcvEmail();
		Globals.userName=algorithm.userName();
		Globals.controlPhone=algorithm.controlPhone();	
		Log.i(tag, "init............");
		super.onCreate();
	}

	
}
